﻿@model VacationsRequest.Models.Employee

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Employee</legend>

    <div class="display-label">Team</div>
    <div class="display-field">
        @ViewBag.TeamName
    </div>

    <div class="display-label">Position</div>
    <div class="display-field">
        @ViewBag.PositionName
    </div>

    <div class="display-label">Manager</div>
    <div class="display-field">
        @ViewBag.ManagerName
    </div>

    <div class="display-label">Identification</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Ced)
    </div>

    <div class="display-label">First Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">First Last Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstLastName)
    </div>

    <div class="display-label">Second Last Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SecondLastName)
    </div>

    <div class="display-label">Active</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">ID Contractor</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IdContractor)
    </div>

    <div class="display-label">StartDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StartDate)
    </div>

    <div class="display-label">Rate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rate)
    </div>

    <div class="display-label">Salary</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Salary)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
